package com.zhaoxi.project.fms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import com.zhaoxi.framework.web.domain.TreeEntity;
import lombok.Data;

/**
 * 财务单据对象 fms_bill
 * 
 * @author zhaoxi
 * @date 2023-08-14
 */
@Data
public class FmsBill extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 交易单位 */
    @Excel(name = "交易单位")
    private Long partnerId;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String orderId;

    /** 经手人 */
    @Excel(name = "经手人")
    private Long handsPersonId;

    /** 操作员 */
    @Excel(name = "操作员")
    private Long userId;

    /** 合计金额 */
    @Excel(name = "合计金额")
    private BigDecimal totalMoney;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal discountMoney;

    /** 实收金额 */
    @Excel(name = "实收金额")
    private BigDecimal money;

    /** 账户(收款/付款) */
    @Excel(name = "账户(收款/付款)")
    private Long accountId;

    /** 计划时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planTime;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executionTime;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;


}
